/**
* Copyright © 2018 深圳市巨鼎医疗设备有限公司
*/
package com.zl.websocket.entity;

import java.io.Serializable;
import java.util.Set;

/**
 * websocket消息载体
 * 
 * @author Zhouych
 * @Date: 2018年7月2日 下午5:27:29
 * @since JDK 1.8
 */
public class WebsocketMessageTransform implements Serializable {

	private static final long serialVersionUID = -2651311023121396953L;

	private Set<String> userIds;

	private WebsocketMessage payload;

	public WebsocketMessageTransform() {
	}

	public WebsocketMessageTransform(WebsocketMessage payload) {
		this.payload = payload;
	}

	public WebsocketMessageTransform(Set<String> userIds, WebsocketMessage payload) {
		this.userIds = userIds;
		this.payload = payload;
	}

	public Set<String> getUserIds() {
		return userIds;
	}

	public void setUserIds(Set<String> userIds) {
		this.userIds = userIds;
	}

	public WebsocketMessage getPayload() {
		return payload;
	}

	public void setPayload(WebsocketMessage payload) {
		this.payload = payload;
	}

}
